#ifndef BALL_H
#define BALL_H
#include "Globals.h"
#include "ResourceManager.h"

class Ball
{
    friend class Game;

    public:
        Ball();
        ~Ball();
        void draw(sf::RenderWindow* window);
        void update();
        void reset();
        void pause();
        void start();
        void makeAcid();
        int w;
        int h;
        float dx;
        float dy;
        sf::Sprite ballSprite;
        bool acid;
        bool destroyed;

    private:
        bool canMove;
        sf::Clock acidClock;
};

#endif // BALL_H
